adTempus API
PreviousUpNext
IProgramExecutionTask::SuccessMinCode Property

Gets or sets the minimum successful exit code , or the exit code to compare to, when the SuccessCriterion is scExitCode.

C++
__property long SuccessMinCode;
C#
long SuccessMinCode;
Visual Basic
Property SuccessMinCode() As long
Default Value

0

If ExitCodeCriterion is exitCodeBT, SuccessMinCode represents the minimum value of the range of exit codes that indicates success. That is, the program is considered successful when SuccessMinCode<=n<=SuccessMaxCode, where n is the actual exit code from the program. 

For all other values of ExitCodeCriterion, the SuccessMinCode is not a minimum but is the value to compare to. For example, if ExitCodeCriterion is exitCodeLE and SuccessMinCode is 4, then any exit code <=4 is considered successful.

adTempus API Reference version 3.0.0.0, revised 10/30/2008